package com.jsyl.lwbk.business.service;

import com.jsyl.lwbk.business.domain.EvaluateReport;
import com.jsyl.lwbk.business.dto.ChildReportDTO;
import com.jsyl.lwbk.business.dto.ReportScoreDTO;
import com.jsyl.lwbk.business.dto.ReportTableDTO;
import com.jsyl.lwbk.business.vo.ChildReportVO;

import java.util.List;
import java.util.Map;

public interface IEvaluateReportService {

    List<ChildReportVO> getChildReport(ChildReportDTO childReportDTO);

    /**
     * 通过 evaluateNumber查询对应记录
     *
     * @param evaluateNumber
     * @return
     */
    EvaluateReport findByEvaluateNumber(String evaluateNumber);

    /**
     * 获取表单合成
     *
     * @param evaluateNumber
     * @return
     */
    ReportTableDTO getReportTableDTO(String evaluateNumber);

    EvaluateReport getLatestChildReport(ChildReportDTO childReportDTO);

    List<ReportScoreDTO> listProjectModuleScore(String evaluateNumber);

    /**
     * 根据报告ID获取测评
     * @param id
     * @return
     */
    Map getChildReportMap(Long id);

    /**
     * 根据测评编号获取测评信息
     * @param evaluateNumber
     * @return
     */
    Map getByEvaluateNumber(String evaluateNumber);


    List<Map> getChildListReport(String childIds);


}
